//
//  ViewController.swift
//  GitT2
//
//  Created by liyanbin on 2017/11/2.
//  Copyright © 2017年 Dc.leefUrl. All rights reserved.
//

import UIKit

class ViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        // Do any additional setup after loading the view, typically from a nib.
        
        view.backgroundColor = UIColor.orange
        
        let search = UISearchBar(frame: CGRect(x: 0, y: 0, width: 320, height: 40))
        view.addSubview(search)
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }


}

